//
//  UIColor+Extension.swift
//  WeiBo_Private
//
//  Created by Yangperlove on 16/1/21.
//  Copyright © 2016年 Yangperlove. All rights reserved.
//

import UIKit

extension UIColor {
    
    class func randomColor() -> UIColor {
        let red = CGFloat(random() % 256) / 255.0
        let green = CGFloat(random() % 256) / 255.0
        let blue = CGFloat(random() % 256) / 255.0
        
        return UIColor(red: red, green: green, blue: blue, alpha: 1)
    }
    
}
